<?php
/**
 * default template file for Listings view of iTOEstate component
 * @package		iTO
 * @subpackage	Components
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @author		Kostyantyn Didenko
 * @license		License GNU General Public License version 2 or later
 */
// No direct access to this file
defined('_JEXEC') or die('Restricted Access');
?>
<?php foreach($this->items as $i => $item): ?>
	<tr class="row<?php echo $i % 2; ?>">
		<td>
			<?php echo $item->id; ?>
		</td>
		<td>
			<?php echo JHtml::_('grid.id', $i, $item->id); ?>
		</td>
		<td>
			<?php echo $item->description; ?>
		</td>
		<td class="center">
			<?php echo JHtml::_('jgrid.published', $item->state, $i) ?>
		</td>		
		<td>			
			<?php echo $item->category; ?>
		</td>
		<td>
			<?php echo $item->type; ?>
		</td>
		<td>
			<?php echo $item->crdate; ?>
		</td>
		<td>
			<?php echo $item->price; ?>
		</td>		
	</tr>
<?php endforeach; ?>

